﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using olierFrm.MVC;

namespace MvcApplication1.Controllers
{
    [HandleError]
    public class HomeController : AutoController
    {
        [Compress]
        public ActionResult Index()
        {
            SmartPage.SmartPageData data = SmartPage.GetSmartPageData(base.RouteData);
            base.ViewData["data"] = data;
            //ServicePointManager.Expect100Continue = false;
            //WSFlights wsFlights = new WSFlights();
            //base.ViewData["SpecialsTicket"] = wsFlights.HomeSpecialsTicket("can", "pek");
            //base.ViewData["MinSpecialsTicket"] = wsFlights.MinSpecialsTicket();
            return base.View();
        }
        //[Compress]
        //public ActionResult ViewPage1()
        //{
        //    return View();
        //}
    }
}
